package com.yyk.yiliao.bean;

import java.util.List;

/**
 * Created by ${zk} on 2018/8/22 0022.
 * <p>
 * 接口1：首页健康头条
 */

public class HomeTitle_Info {

    @Override
    public String toString() {
        return "HomeTitle_Info{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data.size() +
                '}';
    }

    /**
     * code : 1
     * msg : 返回成功
     * data : [{"id":42,"title":"权限管理员"},{"id":41,"title":"主任ee"},{"id":40,"title":"山东大药房"}]
     */

    private int            code;
    private String         msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 42
         * title : 权限管理员
         */

        private int    id;
        private String title;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }

}
